<!DOCTYPE html>
<html>
<head lang="en">
	<meta charset="UTF-8">
	<title>百朋后台管理系统</title>
	<link rel="stylesheet" type="text/css" href="__PUBLIC__/easyui/themes/default/easyui.css">
	<link rel="stylesheet" type="text/css" href="__PUBLIC__/easyui/themes/icon.css">
	<link rel="stylesheet" type="text/css" href="__PUBLIC__/easyui/demo.css">
	<script type="text/javascript" src="__PUBLIC__/easyui/jquery.min.js"></script>
	<script type="text/javascript" src="__PUBLIC__/easyui/jquery.easyui.min.js"></script>
</head>
<body>
	<div class="invest_table">
        <div class="easyui-panel" style="padding:5px;">
            <a href="javascript:;" class="easyui-linkbutton" onclick="type_table(2);" data-options="plain:true,iconCls:'icon-more'" >逾期备注</a>
            <a href="javascript:;" class="easyui-linkbutton" onclick="type_table(3);" data-options="plain:true,iconCls:'icon-more'" >约定还款</a>
            <a href="javascript:;" class="easyui-linkbutton" onclick="type_table(4);" data-options="plain:true,iconCls:'icon-more'">未备注逾期</a>
        </div>
		<table id="default_table" title="订单列表" style="width:100%;min-height:372px;"
			data-options="
				fitColumns:true,
				rownumbers:true,
				singleSelect:true,
				autoRowHeight:false,
				url:'../../borrow/borrowoverdue/overdueremark_main',
				pagination:true,
				pageSize:10,toolbar:'#tb'
			"
		>
			<thead>
				<tr>
					<th field="binfo_id" width="10%" align="center">借款编号</th>
					<th field="fac_simple_name" width="10%" align="center">商户简称</th>
					<th field="cust_name" width="8%" align="center">客户姓名</th>
					<th field="cust_phone" width="8%" align="center">手机号码</th>
					<th field="period_number" width="5%" align="center">期数</th>
                    <th field="end_date" width="7%" align="center">还款日</th>
					<th field="update_time" width="7%" align="center">操作时间</th>
					<th field="recover_money" width="7%" align="center">应还款额</th>
					<th field="action" width="7%" align="center" formatter="format_overdue">滞纳金</th>
					<th field="overdue_day" width="5%" align="center">逾期天数</th>
					<th field="remark_promisetime" width="8%" align="center">约定还款日</th>
				</tr>
			</thead>
		</table>
	</div>
	<div id="tb" style="padding:5px;height:auto">
		<form action="../../borrow/borrowforecast/borrowforecast_list" method="post" id="searchTable">
            <div style="margin-bottom:5px" id="tb_button">
            </div>
			<div>
                <input type="hidden" id="select_type" value="{$search_array.select_type}"/>
				&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
				约定还款日
				<input class="easyui-datebox" id="remark_start_promisetime" value="{$search_array.remark_start_promisetime}" style="width:100px">  --
                <input class="easyui-datebox" id="remark_end_promisetime" value="{$search_array.remark_end_promisetime}" style="width:100px">
				<a href="javascript:;" onclick="submitSearch();" class="easyui-linkbutton" iconCls="icon-search">查询</a>
			</div>
		</form>
	</div>
    <div style="margin-top: 50px">
        <table id="default_table2" title="订单列表" style="width:100%;min-height:372px;"
               data-options="
				fitColumns:true,
				rownumbers:true,
				singleSelect:true,
				autoRowHeight:false,
				url:'../../borrow/borrowoverdue/overdueremark_detail',
				pagination:true,
				pageSize:10
			"
                >
            <thead>
            </thead>
        </table>
    </div>
	<script type="text/javascript" src="__PUBLIC__/js/common.js"></script>
    <script type="text/javascript" src="__PUBLIC__/js/button.js"></script>
    <script type="text/javascript" src="__PUBLIC__/js/borrow/overdueremark_list.js"></script>
	<script type="text/javascript">
		$(function() {
            $("#default_table").datagrid();
		});
	</script>
</body>
</html>